package com.javase.实验七_面向对象5.练习包和访问控制符的应用.man;

public class Man_1 {

    public String var_Public="public 修饰符";
    protected String var_Protected="Protected 修饰符";
    String var_Friendly = "Friendly 修饰符";
    private String var_Private = "Private 修饰符";

    public void access()	{
        System.out.println("在同一个类中，可以访问下列修饰符修饰的方法、变量：");
        System.out.print(var_Public+"\t");
        System.out.print(var_Protected+"\t");
        System.out.print(var_Private+"\t");
        System.out.println(var_Friendly);
    }
}
